import Layout from '@/layout'

export default {
  path: '/incomePay',
  name: 'incomePay',
  component: Layout,
  children: [{
    path: '',
    name: 'incomePay',
    component: () => import('@/views/incomePay'),
    meta: { title: '收支管理', icon: 'caiwuguanli' }
  }, {
    path: 'details/:id',
    name: 'details',
    hidden: true,
    component: () => import('@/views/incomePay/details.vue'),
    meta: {
      title: '收入和支出'
    }
  },
  {
    path: 'timeday/:timeday',
    name: 'timeday',
    hidden: true,
    component: () => import('@/views/incomePay/timeday'),
    meta: {
      title: '详情'
    }
  }
  ]
}